<!DOCTYPE html>
<html>

<head>
    <title>会员中心</title>
    <% include layout/lib.ejs %>
    <link rel="stylesheet" type="text/css" href="/css/userDetail.css" />
</head>

<body>
    <% include layout/header.ejs %>

    <div class="userDetailBox">
        <div class="userDetailMain">
            <div class="userDetailLeft">
                <img src="<%- resultData.userInfo.au_photo %>" />
                <div class="userNameBox"><%- resultData.userInfo.au_realname %></div>
            </div>
            <div class="userDetailRight">
                    <div class="userDetailTitle" style="margin:0px;"><i class="fa fa-user-circle-o fa-lg"></i>&nbsp;&nbsp;维护者身份：</div>
                    <div class="userDetailSignContent" style="padding:0px;">
                        <% for(var i=0;i<resultData.userInfo.au_identity.length;i++){ %>
                            <div class="userStatusItem"><%- resultData.userInfo.au_identity[i] %></div>
                        <% } %>
                    </div>
                <div class="userDetailTitle"><i class="fa fa-thumbs-o-up fa-lg"></i>&nbsp;&nbsp;开发寄语：</div>
                <div class="userDetailSignContent">
                    <%- resultData.userInfo.au_sign %>
                </div>
                <div class="userDetailTitle"><i class="fa fa-address-book-o fa-lg"></i>&nbsp;&nbsp;交个朋友：</div>
                <div class="userDetailSignContent">
                    联系QQ：<%- resultData.userInfo.au_qq %>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;微信号码：<%- resultData.userInfo.au_weixin %>
                </div>
                <div class="userDetailTitle"><i class="fa fa-product-hunt fa-lg"></i>&nbsp;&nbsp;当前产品：</div>
                <div class="userProductBox">
                    <% if(resultData.productData.length <= 0){ %>
                    <div class="noProduct">暂无具体产品</div>
                    <% }else{ %>
                        <% for(var i=0;i<resultData.productData.length;i++){ %>
                        <div class="serviceContentItem">
                                    <% if(resultData.productData[i].p_is_open == 0){ %>
                                    <div class="serviceContentMaskBox">
                                            <i class="fa fa-cogs fa-lg"></i>
                                            正在优化，敬请期待...
                                        </div>
                                    <% } %>
                                    <div class="serviceTitleImage">

                                    <% if(resultData.productData[i].p_id == 2){ %>
                                        <img src="<%- resultData.productData[i].p_title_image %>" style="width:130px;margin-left:40px;margin-top:10px;margin-bottom:20px;" />
                                    <% }else{ %>
                                        <img src="<%- resultData.productData[i].p_title_image %>" />
                                    <% } %>
                                    <a href="/apiDetail?type=file_service"><div class="serviceBtn">教我使用</div></a>
                                </div>
                                <div class="serviceDesc">
                                  <div class="serviceDescTitle"><%- resultData.productData[i].p_name %><div class="serviceTag">免费</div></div>
                                  <div class="serviceDescContent"><%- resultData.productData[i].p_desc %></div>
                                </div>
                        </div>
                        <% } %>
                    <% } %>    
                </div>
            </div>
        </div>
    </div>

    <% include layout/footer.ejs %>
</body>

</html>